<?php
   session_start();
   include "dbcon.php";
   
?>
<div id = "mheader">
		<span>
        Mời Bạn Chọn Sản Phẩm Để So Sánh
        </span>
		</div>
		<table class="show" width="97%" border="0" align="center" >
        <tr align="center">
         <?php
		 $x = 0;
        // put your code here
		$DT = mysql_query("select * from sanpham ");
		while ($row = mysql_fetch_array($DT))
		{
			$x+=1;
		?>
        <td  class="show">
		  
		    <?php echo "<font color='#000' size='2px'><label class='tendt' ><strong><u><p><a href='detail.php?madt=$row[0]'> $row[1] </strong></label></a></p></u></font>";?>
	      
		  <p><br/>
	      <?php echo "<a href='ss.php?itemss=$row[0]'><img src ='$row[4]' width ='70' height ='95'></a>"?></p>
		  <br/>
		    <font color="#FF0000" size="3px"><label class="gia"><strong><?php echo "". number_format($row[3],0) ."đ";?>
	        </strong></label></font>
            
		 </td>
		 
		 <?php
		 if($x ==3)
		 {
			 $x = 0;
			 ?>
             </tr>
			 <tr align="center">
         <?php
        }
	
		}  ?>
        </table> 